package com.zzhou.linkinfo.clock.mvp.clockmain;

import com.zzhou.linkinfo.clock.selector.ClockModelCreator;

import java.util.HashMap;

/**
 * <desc>
 * Created by The Moss on 2019/3/12.
 */

public class MainModel implements IMainContract.IModel {
    @Override
    public String request(HashMap<String, Object> params) {
        Object result = null;
        try {
            result = ClockModelCreator.getInstance().getRequest().getClockTaskList(params);
        } catch (Exception e) {
            e.printStackTrace();
        }
        return result.toString();
    }
}
